<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>shark::WeightedDataPair&lt; DataType, WeightType &gt; Struct Template Reference</title>
<script type="text/javaScript" src="search/search.js"></script>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js"></script>
<script src="../../mlstyle.js"></script>
<link href="../css/besser.css" rel="stylesheet" type="text/css"/>
</head>
<!-- pretty cool: each body gets an id tag which is the basename of the web page  -->
<!--              and allows for page-specific CSS. this is client-side scripted, -->
<!--              so the id will not yet show up in the served source code -->
<script type="text/javascript">
    jQuery(document).ready(function () {
        var url = jQuery(location).attr('href');
        var pname = url.substr(url.lastIndexOf("/")+1, url.lastIndexOf(".")-url.lastIndexOf("/")-1);
        jQuery('#this_url').html('<strong>' + pname + '</strong>');
        jQuery('body').attr('id', pname);
    });
</script>
<body>
    <div id="shark_old">
        <div id="wrap">
            <div id="header">
                <div id="site-name"><a href="../../sphinx_pages/build/html/index.html">Shark machine learning library</a></div>
                <ul id="nav">
                    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/installation.html">Installation</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/tutorials/tutorials.html">Tutorials</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/benchmark.html">Benchmarks</a>
                    </li>
                    <li class="active">
                        <a href="classes.html">Documentation</a>
                        <ul>
                            <li class="first"></li>
                            <li><a href="../../sphinx_pages/build/html/rest_sources/quickref/quickref.html">Quick references</a></li>
                            <li><a href="classes.html">Class list</a></li>
                            <li class="last"><a href="group__shark__globals.html">Global functions</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </div>
<div id="doxywrapper">
<!--
    <div id="global_doxytitle">Doxygen<br>Documentation:</div>
-->
    <div id="navrow_wrapper">
<!-- Generated by Doxygen 1.9.8 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceshark.html">shark</a></li><li class="navelem"><a class="el" href="structshark_1_1_weighted_data_pair.html">WeightedDataPair</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="structshark_1_1_weighted_data_pair-members.html">List of all members</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a>  </div>
  <div class="headertitle"><div class="title">shark::WeightedDataPair&lt; DataType, WeightType &gt; Struct Template Reference</div></div>
</div><!--header-->
<div class="contents">

<p>Input-Label pair of data.  
 <a href="structshark_1_1_weighted_data_pair.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_weighted_dataset_8h_source.html">shark/Data/WeightedDataset.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a44ea6d553a9c404762877e73a27be98a" id="r_a44ea6d553a9c404762877e73a27be98a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structshark_1_1_weighted_data_pair.html#a44ea6d553a9c404762877e73a27be98a">WeightedDataPair</a> ()</td></tr>
<tr class="separator:a44ea6d553a9c404762877e73a27be98a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13d962d654eb99ebd5e6efe31b5f870d" id="r_a13d962d654eb99ebd5e6efe31b5f870d"><td class="memTemplParams" colspan="2">template&lt;class DataT , class WeightT &gt; </td></tr>
<tr class="memitem:a13d962d654eb99ebd5e6efe31b5f870d"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structshark_1_1_weighted_data_pair.html#a13d962d654eb99ebd5e6efe31b5f870d">WeightedDataPair</a> (DataT &amp;&amp;<a class="el" href="structshark_1_1_weighted_data_pair.html#a10989da82db7181438ce1ff19272bd75">data</a>, WeightT &amp;&amp;<a class="el" href="structshark_1_1_weighted_data_pair.html#acf28cb8512b93ca53958db8ade244ac9">weight</a>)</td></tr>
<tr class="separator:a13d962d654eb99ebd5e6efe31b5f870d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad68bb92f39809cde931acb4a9efd5017" id="r_ad68bb92f39809cde931acb4a9efd5017"><td class="memTemplParams" colspan="2">template&lt;class DataT , class WeightT &gt; </td></tr>
<tr class="memitem:ad68bb92f39809cde931acb4a9efd5017"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structshark_1_1_weighted_data_pair.html#ad68bb92f39809cde931acb4a9efd5017">WeightedDataPair</a> (<a class="el" href="structshark_1_1_weighted_data_pair.html">WeightedDataPair</a>&lt; DataT, WeightT &gt; const &amp;pair)</td></tr>
<tr class="separator:ad68bb92f39809cde931acb4a9efd5017"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a827848bbc7d6900c72814dc6260aec1f" id="r_a827848bbc7d6900c72814dc6260aec1f"><td class="memTemplParams" colspan="2">template&lt;class DataT , class WeightT &gt; </td></tr>
<tr class="memitem:a827848bbc7d6900c72814dc6260aec1f"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="structshark_1_1_weighted_data_pair.html">WeightedDataPair</a> &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structshark_1_1_weighted_data_pair.html#a827848bbc7d6900c72814dc6260aec1f">operator=</a> (<a class="el" href="structshark_1_1_weighted_data_pair.html">WeightedDataPair</a>&lt; DataT, WeightT &gt; const &amp;batch)</td></tr>
<tr class="separator:a827848bbc7d6900c72814dc6260aec1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a552caca30cff45615dd102e80694d94a" id="r_a552caca30cff45615dd102e80694d94a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structshark_1_1_weighted_data_pair.html">WeightedDataPair</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structshark_1_1_weighted_data_pair.html#a552caca30cff45615dd102e80694d94a">operator=</a> (<a class="el" href="structshark_1_1_weighted_data_pair.html">WeightedDataPair</a> const &amp;batch)</td></tr>
<tr class="separator:a552caca30cff45615dd102e80694d94a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a10989da82db7181438ce1ff19272bd75" id="r_a10989da82db7181438ce1ff19272bd75"><td class="memItemLeft" align="right" valign="top">DataType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structshark_1_1_weighted_data_pair.html#a10989da82db7181438ce1ff19272bd75">data</a></td></tr>
<tr class="separator:a10989da82db7181438ce1ff19272bd75"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf28cb8512b93ca53958db8ade244ac9" id="r_acf28cb8512b93ca53958db8ade244ac9"><td class="memItemLeft" align="right" valign="top">WeightType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structshark_1_1_weighted_data_pair.html#acf28cb8512b93ca53958db8ade244ac9">weight</a></td></tr>
<tr class="separator:acf28cb8512b93ca53958db8ade244ac9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;class DataType, class WeightType&gt;<br />
struct shark::WeightedDataPair&lt; DataType, WeightType &gt;</div><p>Input-Label pair of data. </p>

<p class="definition">Definition at line <a class="el" href="_weighted_dataset_8h_source.html#l00053">53</a> of file <a class="el" href="_weighted_dataset_8h_source.html">WeightedDataset.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a44ea6d553a9c404762877e73a27be98a" name="a44ea6d553a9c404762877e73a27be98a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a44ea6d553a9c404762877e73a27be98a">&#9670;&#160;</a></span>WeightedDataPair() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class DataType , class WeightType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structshark_1_1_weighted_data_pair.html">shark::WeightedDataPair</a>&lt; DataType, WeightType &gt;::WeightedDataPair </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_weighted_dataset_8h_source.html#l00057">57</a> of file <a class="el" href="_weighted_dataset_8h_source.html">WeightedDataset.h</a>.</p>

</div>
</div>
<a id="a13d962d654eb99ebd5e6efe31b5f870d" name="a13d962d654eb99ebd5e6efe31b5f870d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a13d962d654eb99ebd5e6efe31b5f870d">&#9670;&#160;</a></span>WeightedDataPair() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class DataType , class WeightType &gt; </div>
<div class="memtemplate">
template&lt;class DataT , class WeightT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structshark_1_1_weighted_data_pair.html">shark::WeightedDataPair</a>&lt; DataType, WeightType &gt;::WeightedDataPair </td>
          <td>(</td>
          <td class="paramtype">DataT &amp;&amp;&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">WeightT &amp;&amp;&#160;</td>
          <td class="paramname"><em>weight</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_weighted_dataset_8h_source.html#l00060">60</a> of file <a class="el" href="_weighted_dataset_8h_source.html">WeightedDataset.h</a>.</p>

</div>
</div>
<a id="ad68bb92f39809cde931acb4a9efd5017" name="ad68bb92f39809cde931acb4a9efd5017"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad68bb92f39809cde931acb4a9efd5017">&#9670;&#160;</a></span>WeightedDataPair() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class DataType , class WeightType &gt; </div>
<div class="memtemplate">
template&lt;class DataT , class WeightT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structshark_1_1_weighted_data_pair.html">shark::WeightedDataPair</a>&lt; DataType, WeightType &gt;::WeightedDataPair </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structshark_1_1_weighted_data_pair.html">WeightedDataPair</a>&lt; DataT, WeightT &gt; const &amp;&#160;</td>
          <td class="paramname"><em>pair</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_weighted_dataset_8h_source.html#l00066">66</a> of file <a class="el" href="_weighted_dataset_8h_source.html">WeightedDataset.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a552caca30cff45615dd102e80694d94a" name="a552caca30cff45615dd102e80694d94a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a552caca30cff45615dd102e80694d94a">&#9670;&#160;</a></span>operator=() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class DataType , class WeightType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structshark_1_1_weighted_data_pair.html">WeightedDataPair</a> &amp; <a class="el" href="structshark_1_1_weighted_data_pair.html">shark::WeightedDataPair</a>&lt; DataType, WeightType &gt;::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structshark_1_1_weighted_data_pair.html">WeightedDataPair</a>&lt; DataType, WeightType &gt; const &amp;&#160;</td>
          <td class="paramname"><em>batch</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_weighted_dataset_8h_source.html#l00076">76</a> of file <a class="el" href="_weighted_dataset_8h_source.html">WeightedDataset.h</a>.</p>

<p class="reference">References <a class="el" href="structshark_1_1_weighted_data_pair.html#a10989da82db7181438ce1ff19272bd75">shark::WeightedDataPair&lt; DataType, WeightType &gt;::data</a>, and <a class="el" href="structshark_1_1_weighted_data_pair.html#acf28cb8512b93ca53958db8ade244ac9">shark::WeightedDataPair&lt; DataType, WeightType &gt;::weight</a>.</p>

</div>
</div>
<a id="a827848bbc7d6900c72814dc6260aec1f" name="a827848bbc7d6900c72814dc6260aec1f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a827848bbc7d6900c72814dc6260aec1f">&#9670;&#160;</a></span>operator=() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class DataType , class WeightType &gt; </div>
<div class="memtemplate">
template&lt;class DataT , class WeightT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structshark_1_1_weighted_data_pair.html">WeightedDataPair</a> &amp; <a class="el" href="structshark_1_1_weighted_data_pair.html">shark::WeightedDataPair</a>&lt; DataType, WeightType &gt;::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structshark_1_1_weighted_data_pair.html">WeightedDataPair</a>&lt; DataT, WeightT &gt; const &amp;&#160;</td>
          <td class="paramname"><em>batch</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_weighted_dataset_8h_source.html#l00071">71</a> of file <a class="el" href="_weighted_dataset_8h_source.html">WeightedDataset.h</a>.</p>

<p class="reference">References <a class="el" href="structshark_1_1_weighted_data_pair.html#a10989da82db7181438ce1ff19272bd75">shark::WeightedDataPair&lt; DataType, WeightType &gt;::data</a>, and <a class="el" href="structshark_1_1_weighted_data_pair.html#acf28cb8512b93ca53958db8ade244ac9">shark::WeightedDataPair&lt; DataType, WeightType &gt;::weight</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a10989da82db7181438ce1ff19272bd75" name="a10989da82db7181438ce1ff19272bd75"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a10989da82db7181438ce1ff19272bd75">&#9670;&#160;</a></span>data</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class DataType , class WeightType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">DataType <a class="el" href="structshark_1_1_weighted_data_pair.html">shark::WeightedDataPair</a>&lt; DataType, WeightType &gt;::data</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_weighted_dataset_8h_source.html#l00054">54</a> of file <a class="el" href="_weighted_dataset_8h_source.html">WeightedDataset.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="structshark_1_1_weighted_data_pair.html#a552caca30cff45615dd102e80694d94a">shark::WeightedDataPair&lt; DataType, WeightType &gt;::operator=()</a>, and <a class="el" href="structshark_1_1_weighted_data_pair.html#a827848bbc7d6900c72814dc6260aec1f">shark::WeightedDataPair&lt; DataType, WeightType &gt;::operator=()</a>.</p>

</div>
</div>
<a id="acf28cb8512b93ca53958db8ade244ac9" name="acf28cb8512b93ca53958db8ade244ac9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acf28cb8512b93ca53958db8ade244ac9">&#9670;&#160;</a></span>weight</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class DataType , class WeightType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">WeightType <a class="el" href="structshark_1_1_weighted_data_pair.html">shark::WeightedDataPair</a>&lt; DataType, WeightType &gt;::weight</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_weighted_dataset_8h_source.html#l00055">55</a> of file <a class="el" href="_weighted_dataset_8h_source.html">WeightedDataset.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="structshark_1_1_weighted_data_pair.html#a552caca30cff45615dd102e80694d94a">shark::WeightedDataPair&lt; DataType, WeightType &gt;::operator=()</a>, and <a class="el" href="structshark_1_1_weighted_data_pair.html#a827848bbc7d6900c72814dc6260aec1f">shark::WeightedDataPair&lt; DataType, WeightType &gt;::operator=()</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>include/shark/Data/<a class="el" href="_weighted_dataset_8h_source.html">WeightedDataset.h</a></li>
</ul>
</div><!-- contents -->
</div>
</body>
</html>
